package spring.DI;

import org.springframework.stereotype.Repository;

/**
 * 通过 @Bean 配置 组件
 *
 * @author ME
 * @date   2019/9/26
 */
// @Repository
@com.alibaba.dubbo.config.annotation.Service
public class IndexDaoImpl1 implements IndexDao {

    public IndexDaoImpl1() {
        System.out.println("啥时候实例化了？");
    }

    @Override
    public void test() {
        System.out.println("dao1.test()");
    }
}
